//
//  NetWorkTools.h
//  02-网络
//
//  Created by rimi on 16/5/9.
//  Copyright © 2016年 yyy. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AFHTTPSessionManager.h"

typedef void (^callBackBlock)(id responseObject,NSError *error);

@interface NetWorkTools : AFHTTPSessionManager

+ (instancetype)sharedTools;
- (void)requestMethod:(requestMethod)method
                  URL:(NSString *)url
           parameters:(id)param
               finish:(callBackBlock)finished;

@end
